<!DOCTYPE html>
<html lang="cn" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>学生列表</title>
    <link rel="stylesheet" href="/css/bootstrap.min.css">
    <script src="/js/jquery-3.4.0.min.js"></script>
    <script src="/js/bootstrap.min.js"></script>

    <style>

        b{
            font-weight: bolder;
            color:red;
        }
    </style>
</head>
<body>
    <div class="container-fluid">
        <h1>测试一下下，这就是学生列表</h1>



        <table class="table table-bordered">
            <thead>
            <tr>
                <th>ID</th>
                <th>姓名</th>
                <th>性别</th>
                <th>成绩 </th>
            </tr>
            </thead>
            <tbody>
            <tr th:each="m : ${data}">
                <th scope="row" th:text="${m.id}"></th>
                <td th:utext="${m.name}"></td>
                <td th:text="${m.sex}"></td>
                <td th:text="${m.score}"></td>
            </tr>

            </tbody>
        </table>


        就个链接是：
        <a th:href="${url}">点我</a>

    </div>


</body>
</html>